<template>
	<view>
		<view class="item" v-for="(item,index) in list" :key="item.id">
			<image :src="item.img" mode=""></image>
			<view class="main">
				{{item.hosName}}
			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[]
				
			}
		},
		onLoad(){
			let url="https://route.showapi.com/87-60?showapi_appid=190342&showapi_sign=ec03f001017945e89d21ebe515bc02f4&provinceName=%E5%8C%97%E4%BA%AC&page=1"
			uni.request({
				url,
				success:res=>{
					this.list=res.data.showapi_res_body.hospitalList
				}
			})
			
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
